package com.voicechat.firstmet.bean;

import java.util.List;

/**
 * @ProjectName: FirstMet
 * @Package: com.voicechat.firstmet.bean
 * @ClassName: PhotoAblamBean
 * @Description: 个人主页相册数据
 * @Author: ljp
 * @CreateDate: 2018/10/29 14:02
 * @Version: 1.0
 */
public class PhotoAlbumBean  {


    /**
     * code : 200
     * msg : 成功
     * list : [{"id":"s","isNewRecord":false,"createDate":"2018-10-17 14:40:00","userId":"d3611093491141cfb8e1b43692e5d3b6","albumUrl":"222","type":"1"},{"id":"c","isNewRecord":false,"createDate":"2018-10-12 14:39:58","userId":"d3611093491141cfb8e1b43692e5d3b6","albumUrl":"333","type":"1"},{"id":"a","isNewRecord":false,"createDate":"2018-10-12 14:39:54","userId":"d3611093491141cfb8e1b43692e5d3b6","albumUrl":"111","type":"1"}]
     */

    private int code;
    private String msg;
    private List<ListBean> list;
    /**
     * page : {"pageNo":1,"pageSize":10,"count":6,"list":[{"isNewRecord":true,"albumUrl":"head/58241542174592183.jpg,head/58241542174592183.jpg,head/58241542174592183.jpg,head/58241542174592183.jpg,head/58241542174592183.jpg,head/58241542174592183.jpg"}],"maxResults":10,"firstResult":0}
     */

    private PageBean page;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public static class ListBean {
        /**
         * id : s
         * isNewRecord : false
         * createDate : 2018-10-17 14:40:00
         * userId : d3611093491141cfb8e1b43692e5d3b6
         * albumUrl : 222
         * type : 1
         */

        private String id;
        private boolean isNewRecord;
        private String createDate;
        private String userId;
        private String albumUrl;//图片地址
        private String type;

        private String name;//搜索页面中的，热门搜索名称


        private String pid;//语聊评价标签中  标签id
        private String tagName;//语聊评价标签中  标签名称

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public String getTagName() {
            return tagName;
        }

        public void setTagName(String tagName) {
            this.tagName = tagName;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getAlbumUrl() {
            return albumUrl;
        }

        public void setAlbumUrl(String albumUrl) {
            this.albumUrl = albumUrl;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }

    public static class PageBean {
        /**
         * pageNo : 1
         * pageSize : 10
         * count : 6
         * list : [{"isNewRecord":true,"albumUrl":"head/58241542174592183.jpg,head/58241542174592183.jpg,head/58241542174592183.jpg,head/58241542174592183.jpg,head/58241542174592183.jpg,head/58241542174592183.jpg"}]
         * maxResults : 10
         * firstResult : 0
         */

        private int pageNo;
        private int pageSize;
        private int count;
        private int maxResults;
        private int firstResult;
        private List<ListBean> list;

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getMaxResults() {
            return maxResults;
        }

        public void setMaxResults(int maxResults) {
            this.maxResults = maxResults;
        }

        public int getFirstResult() {
            return firstResult;
        }

        public void setFirstResult(int firstResult) {
            this.firstResult = firstResult;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> listX) {
            this.list = listX;
        }
        public static class ListBean {
            /**
             * id : s
             * isNewRecord : false
             * createDate : 2018-10-17 14:40:00
             * userId : d3611093491141cfb8e1b43692e5d3b6
             * albumUrl : 222
             * type : 1
             */

            private String id;
            private boolean isNewRecord;
            private String createDate;
            private String userId;
            private String albumUrl;//图片地址
            private String type;

            private String name;//搜索页面中的，热门搜索名称


            private String pid;//语聊评价标签中  标签id
            private String tagName;//语聊评价标签中  标签名称

            public String getPid() {
                return pid;
            }

            public void setPid(String pid) {
                this.pid = pid;
            }

            public String getTagName() {
                return tagName;
            }

            public void setTagName(String tagName) {
                this.tagName = tagName;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getAlbumUrl() {
                return albumUrl;
            }

            public void setAlbumUrl(String albumUrl) {
                this.albumUrl = albumUrl;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }

    }
}
